# frozen_string_literal: true

source 'https://rubygems.org'

gem 'rails', '>= 7.0.0'

group :active_record do
  platforms :jruby do
    gem 'activerecord-jdbcmysql-adapter', '>= 1.2'
    gem 'activerecord-jdbcpostgresql-adapter', '>= 1.2'
    gem 'activerecord-jdbcsqlite3-adapter', '>= 1.2'
  end

  platforms :ruby, :mswin, :mingw do
    gem 'mysql2', '>= 0.3.14'
    gem 'pg', '>= 0.14'
    gem 'sqlite3', '~> 1.3'
  end

  gem 'composite_primary_keys'
  gem 'paper_trail', '>= 12.0'
end

gem 'carrierwave', '>= 2.0.0.rc', '< 3.0'
gem 'cssbundling-rails', require: false
gem 'devise', '>= 3.2'
gem 'dragonfly', '~> 1.0'
gem 'importmap-rails', require: false
gem 'mini_magick', '>= 3.4'
gem 'mlb', '>= 0.7', github: 'mshibuya/mlb', branch: 'ruby-3'
gem 'paperclip', '>= 3.4'
gem 'rails_admin', path: '../../'
gem 'shrine', '~> 3.0'
gem 'vite_rails', require: false
gem 'webpacker', require: false
gem 'webrick'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sassc-rails', '~> 2.1'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer'

  gem 'uglifier', '>= 1.3'
end
